package com.itttq.gshop.domain.po;

import java.util.Date;
import java.util.List;

/** 分类信息表，记录商品的分类管理 **/

public class WareCategoryPo extends BasePo {
	private static final long serialVersionUID = -7596275679990619L;
	/* 创建时间 */
	private Date createTime;
	/* 创建人ID */
	private Integer creatorId;
	/* 备注,200个字符 */
	private String description;
	/*  显示顺序，倒序显示。1为显示在最后。此顺序相同的则以更新时间倒序显示 */
	private Integer displayOrder;
	
	private Integer id;
	/* 分类图标 */
	private String icon;
	/* 分类图，作为首页和其他页面展示时使用。 */
	private String image;
	/* 分类名称 */
	private String name;
	/* 所属父分类名称 */
	private String parentName;
	/* 所属父分类 */
	private Long parentId;
	/* 分类状态：1、开启；2、关闭。
            开启或关闭。关闭后，此分类在页面不显示。
            此分类的所有商品对外可见 */
	private Integer status;
	/* 数据更新时间 */
	private Date updateTime;
	/* 更新人ID */
	private Integer updaterId;
	
	private List<WareBrandPo> brands;
	
	public List<WareBrandPo> getBrands() {
		return brands;
	}
	public void setBrands(List<WareBrandPo> brands) {
		this.brands = brands;
	}
	
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Integer getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public Integer getDisplayOrder() {
		return displayOrder;
	}
	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Integer getUpdaterId() {
		return updaterId;
	}
	public void setUpdaterId(Integer updaterId) {
		this.updaterId = updaterId;
	}
	
}